# Django settings for server wjContact.


DEBUG = True
TEMPLATE_DEBUG = DEBUG

CBV_DEBUG = True

ADMINS = (
     ('Jan Smith', 'jan@computerbank.org.au'),
)

MANAGERS = ADMINS

DATABASE_ENGINE = 'postgresql'
DATABASE_NAME = 'computerbank'
DATABASE_USER = 'computerbank'
DATABASE_PASSWORD = 'yeSweg0GlunimOm'
DATABASE_HOST = '127.0.0.1'
DATABASE_PORT = ''

TIME_ZONE = 'America/Chicago'

LANGUAGE_CODE = 'en-us'

SITE_ID = 1

USE_I18N = True

MEDIA_ROOT = "/usr/local/www/wjContact/sitemedia/"
MEDIA_URL = "/sitemedia/"
ADMIN_MEDIA_PREFIX = "/media/"

# Make this unique, and don't share it with anybody.
SECRET_KEY = 'l-c2ut90c)8%jue7-d&1o)0$v19+_dqe_e&6jypfv*!%)vc998'

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
#     'django.template.loaders.eggs.load_template_source',
)

TEMPLATE_CONTEXT_PROCESSORS = (
   "django.core.context_processors.auth",
   "django.core.context_processors.debug",
   "django.core.context_processors.i18n",
   #"django.core.context_processors.media",
#

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware',
)

ROOT_URLCONF = 'wjContact.urls'

TEMPLATE_DIRS = (
  
    '/usr/local/www/wjContact/templates'),
    '/usr/local/www/wjContact/contacts/templates'),
    '/usr/local/www/wjContact/computers/templates'),
    '/usr/local/www/wjContact/sales/templates'),
    )

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'wjContact.contacts',
    'wjContact.computers',
    'wjContact.sales',
    #'wjContact.search',
    'wjContact.cbv_tags',
)